package com.esyoga.yoyoga.mapper;

import com.esyoga.yoyoga.pojo.TGym;
import com.esyoga.yoyoga.pojo.TGymExample;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface TGymMapper {
    long countByExample(TGymExample example);

    int deleteByExample(TGymExample example);

    int deleteByPrimaryKey(Integer gId);

    int insert(TGym record);

    int insertSelective(TGym record);

    List<TGym> selectByExample(TGymExample example);

    TGym selectByPrimaryKey(Integer gId);

    int updateByExampleSelective(@Param("record") TGym record, @Param("example") TGymExample example);

    int updateByExample(@Param("record") TGym record, @Param("example") TGymExample example);

    int updateByPrimaryKeySelective(TGym record);

    int updateByPrimaryKey(TGym record);
}